Automattic\WooCommerce\Pinterest\Product\Attributes\AttributeManager S

Total Complexity 34
Dependencies 4
Dependents 3
Total lines 302
Lines of code 118
Logical lines of code 68
Comment lines 120
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
update()
S
60 4 13
get()
S
61 4 12
map_attribute_types()
S
60 3 13
get_all()
S
64 3 10
get_all_values()
S
64 3 10
get_available_attribute_ids()
S
64 3 10
validate()
S
62 2 11
instance()
S
72 2 6
get_value()
S
74 2 4
get_attribute_types_for_product_types()
S
65 2 9
get_attribute_types_map()
S
72 2 6
delete()
S
73 1 5
exists()
S
80 1 3
get_attribute_types_for_product()
S
80 1 3
get_available_attribute_types()
S
79 1 3